package com.offcn.sellergood.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.offcn.sellergood.pojo.Brand;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @Author: zola
 * @Date: 2021/9/7 - 09 - 07 - 20:08
 * @Description: com.offcn.sellergood.mapper
 * @Version: 1.0
 */
public interface BrandMapper extends BaseMapper<Brand> {

    // 规格下拉列表实现
    @Select("SELECT id,NAME AS TEXT FROM tb_brand")
    public List<Map> selectOptions();
}
